Skip to content

Conversation

@Fallengirl
Copy link

CopyTo was missing IsAnchorTx field - this breaks gas estimation for Taiko anchor transactions since TaikoTransactionProcessor checks this flag for special handling (skip validation, no gas purchase, no refunds).

PoolPolicy.Return wasn't resetting:

  • IsAnchorTx (Taiko)
  • SourceHash, Mint, IsOPSystemTransaction (Optimism deposit tx fields)
  • _spentGas

These fields persist between pooled object reuses, causing data leakage. A normal tx could inherit IsAnchorTx=true or Optimism deposit data from previously returned transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants